package com.itedge.solutionmanager.web.taskhandler.impl.customer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.MessageSource;

import com.itedge.solutionmanager.domain.impl.Customer;
import com.itedge.infrastructure.service.process.IProcessService;
import com.itedge.infrastructure.service.task.ITaskService;
import com.itedge.infrastructure.service.taskdata.ITaskDataEntityService;
import com.itedge.infrastructure.stereotype.WebHandler;
import com.itedge.solutionmanager.taskdata.impl.customer.FreezeCustomerTaskData;
import com.itedge.solutionmanager.web.convert.ISOFormattingConversionServiceBean;
import com.itedge.infrastructure.web.taskhandler.impl.AbstractTaskDataHandler;

@WebHandler
public class FreezeCustomerTaskDataHandler extends AbstractTaskDataHandler<FreezeCustomerTaskData, Customer> {
	
    @Autowired
    protected FreezeCustomerTaskDataHandler(ISOFormattingConversionServiceBean conversionService,
    		IProcessService<Customer> customerProcessService,
    		ITaskDataEntityService<FreezeCustomerTaskData> freezeCustomerTaskDataService,
    		ITaskService<FreezeCustomerTaskData, Customer> freezeCustomerTaskService,
			MessageSource messageSource) {
		super(conversionService, customerProcessService, freezeCustomerTaskDataService, 
				freezeCustomerTaskService, messageSource);
	}
	
	@Override
	protected Class<FreezeCustomerTaskData> getTaskDataClass() {
		return FreezeCustomerTaskData.class;
	}
	
}
